package com.train.mgr.modules.system.dto.response;

import com.train.common.model.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author cxg
 * @desc UserRespDTO
 * @date 2024/03/09 18:05
 **/
@Data
public class UserRespDTO extends BaseDTO {

    /**
     * 用户id
     */
    private Long id;

    /**
     * 用户名（账号/手机号）
     */
    @ApiModelProperty(name = "username", value = "账号")
    private String username;
    /**
     * 姓名
     */
    @ApiModelProperty(name = "nickName", value = "姓名")
    private String nickName;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 状态：0启用、1禁用
     */
    @ApiModelProperty(name = "enabled", value = "状态：0启用、1禁用")
    private Integer enabled;

    /**
     * 部门ID
     */
    @ApiModelProperty(name = "deptId", value = "部门Id")
    private Long deptId;

    @ApiModelProperty(name = "deptName", value = "部门名称")
    private String deptName;

    /**
     * 岗位ID
     */
    @ApiModelProperty(name = "positionId", value = "岗位ID")
    private Long positionId;

    @ApiModelProperty(name = "positionName", value = "岗位名称")
    private String positionName;

    @ApiModelProperty(name = "userType", value = "用户类型")
    private String userType;

    @ApiModelProperty(name = "userLable", value = "用户标签")
    private String userLable;
    /**
     * 是否部门主管
     */
    @ApiModelProperty(name = "isDeptLeader", value = "是否部门主管")
    private Integer isDeptLeader;

    @ApiModelProperty(name = "isEtpManager", value = "是否企业管理员")
    private Integer isEtpManager;

    private String originalPwd;



    /**
     * 用户角色
     */
    private List<Long> roles;

}
